package com.zzh.demo.agentDemo.utils;

/**
 * description： <br>
 * createTime: 2024/2/29 14:34 <br>
 *
 * @author zzh
 */
public class ConfigUtils {
    private ConfigUtils() {}

    public static String getStrProperties(String propKey, String defaultValue) {
        String property = System.getProperties().getProperty(propKey);
        System.out.println(propKey + " : " + property);
        if(property == null || "".equals(property)) {
            return defaultValue;
        }
        return property;
    }
}
